package com.punch.common.dto.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * OrderDTO-订单信息 表单
 *
 * @author xiaol
 * @version 1.0.0
 * @since 2020/8/3
 */
@Data
public class SimpleOrderDTO implements Serializable {

    @ApiModelProperty(name = "classId", notes = "班级id")
    @NotNull(message = "班级为空")
    private Long classId;

    @ApiModelProperty(name = "studentId", notes = "学生id")
    @NotNull(message = "学生为空")
    private Long studentId;


}
